
import { hilog } from '@kit.PerformanceAnalysisKit';

export class LogModel {
  static readonly DOMAIN: number = 0x9688;
  static readonly TAG: string = "DRLogger";
  private domain: number
  private prefix: string
  constructor(prefix: string) {
    this.prefix = prefix
    this.domain = 0xFF00
  }
  static error = (format: string, ...args: any[]) => {
    hilog.error(LogModel.DOMAIN, LogModel.TAG, format, args);
  }
}